package org.mysfit.ctp4j.core.service.impl;

import org.mysfit.ctp4j.api.vo.TradeListVO;
import org.mysfit.ctp4j.core.service.TradeListService;
import org.mysfit.ctp4j.infra.entity.TradeList;
import org.mysfit.ctp4j.infra.mapper.TradeListMapper;

import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * trade 服务实现类
 * </p>
 *
 * @author long.gf
 * @since 2022-12-05 13:54:32
 */
@Service
public class TradeListServiceImpl 
	extends AbstractBaseServiceImpl<TradeListMapper, TradeList, TradeListVO> 
	implements TradeListService 
{

	@Autowired
	private ModelMapper modelMapper;
	
	@Override
	protected ModelMapper getModelMapper() {
		return modelMapper;
	}

	@Override
	protected Class<TradeListVO> getVoCLass() {
		return TradeListVO.class;
	}

}
